home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
050
/
bix03.arc
/
DISPDEF.SYS
< prev
next >
Wrap
Text File
|
1986-08-04
|
3KB
|
69 lines
(************************************************************************)
(* *)
(* *)
(* DISPDEF.SYS *)
(* TYPE DECLARATIONS FOR WINDOW UTILITIES *)
(* *)
(* *)
(* WRITTEN BY: JOHN LEONARD --- 1/25/86 *)
(* *)
(* *)
(* NOT FOR SALE WITHOUT WRITTEN PERMISSION *)
(* *)
(* *)
(************************************************************************)
const
DefaultAttribute : integer = 7;
DefaultFiller : integer = 32;
MaxDisplayStack = 15;
DisplayTop : integer = MaxDisplayStack;
HardwareTop = 0;
DefaultRegenSize = 4096; { 4K Screen buffer size }
DefaultWidth = 80;
type
Window_String = string[7];
Window_Little_String= string[20];
Window_Medium_String= string[80];
Window_Big_String = string[255];
Window_Char_Set = set of char;
Initial_Screen_Data = record
regen : integer;
conout: integer;
mtype : window_string;
stype : window_string;
hardb : integer;
x,y,s1,s2 : integer;
end;
Window_Locations = record
xloc,yloc : integer;
framed : boolean;
flen,hlen : integer;
x1,y1,x2,y2 : integer;
end;
Current_Screen_Data = record
hardb : integer;
regen : integer;
page : integer;
attribute : integer;
filler : integer;
s1,s2 : integer;
windowloc : array [0..MaxDisplayStack]
of Window_Locations;
end;
Mono_Screen_buffer = array [0..4095] of byte;
Mono_Screen_Pointer = ^Mono_Screen_Buffer;
Mono_Screen_Locs = array [0..MaxDisplayStack] of Mono_Screen_Pointer;
Display_Record = record
info : window_Locations;
data : Mono_Screen_Buffer;
end;
Attribute_Rec = array [1..3] of byte;
var
Displaystack : Mono_Screen_Locs;
CurrentScreenData : Current_Screen_Data;
InitialScreenData : Initial_Screen_Data;